#ifndef ACTIVITY_GET_BY_CATEGORY_REQUEST_H
#define ACTIVITY_GET_BY_CATEGORY_REQUEST_H
#include "request_handler_base.h"

namespace Activity {
  struct activity {
    int id;
    int user_id;
    int recommend_user;
    int organizer_id;
    int calendar_id;
    QString name;
    QString english_name;
    QString location;
    QString address;
    QString english_address;
    QString category;
    QString subcate;
    QString tags;
    QString lat;
    QString lng;
    QString match_level;
    QString show_image_url;
    QString thumb_image_url;
    int view_count;
    int comment_count;
    int recommend_count;
    int checkin_count;
    int subscribe_count;
    int rank;
    QString access_type;
    bool is_auth;
    bool is_long;
    bool is_past;
    bool is_movie;
    QString start_time;
    QString end_time;
    QString created_on;
    QString body;
    QString description;
  };

  int GetByCategoryRequestRun(RequestMethod &r, QDomElement &e);
}
#endif // ACTIVITY_GET_BY_CATEGORY_REQUEST_H
